home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / utility / ffg155.zip / UTIL_BAT.ZIP / VDELETE.BAT < prev    next >
DOS Batch File  |  1993-10-31  |  446b  |  20 lines

  1. @echo off
  2. ::
  3. :: Note use of double %% below.  Double %% are used instead of single % in
  4. :: batch files.
  5. ::
  6. if %1.==. goto USAGE
  7.   echo on
  8.   ffg *:%1 %2 %3 %4 %5 %6 %7%8 %9 /eDEL%%_%%n
  9.   @echo off
  10.   goto END
  11. :USAGE
  12.   cls
  13.   echo USAGE: %0 [FFG criteria for files to be deleted]
  14.   echo.
  15.   echo    For example: %0 *.[bak/tmp] /d-1T
  16.   echo.
  17.   echo        to delete all *.BAK and *.TMP files dated yesterday or earlier.
  18.   echo.
  19. :END
  20.